<?php
    include './header.php';

    include './public_banner.php';

    //查询服务类型
    $serv_arr = select_data('nnd_serv_type');

    // 查询首页案例 通过case_type = 4 查询
    $case_condition = "WHERE case_type = 4";
    $cases_arr = select_data('nnd_cases', $case_condition);

    // 查询首页历史数据
    $slo_cond = "ORDER BY slogan_id LIMIT 3";
    $history_arr = select_data('nnd_slogan', '*', $slo_cond);

    include './views/index.html';

    include './footer.php';
    

